/*
 * @Author: Jone XIn
 * @Date: 2022-01-21 19:51:46
 * @LastEditTime: 2022-01-23 22:38:57
 * @Description: 测试watcher + ws
 */

const { addDeviceInfo } = require('../class/device');

const syncInfo = {
    sync_id: 'aaa',
    project_name: 'a',
    project_path: 'X:\\sync_program\\sync_client\\test\\m\\a'
}
addDeviceInfo(syncInfo, (res) => {
    if (res) {
        console.log('send regist message success!');
    }
});